<select name="${name}" xm-select="${name}"
        @if(single!true) {
        xm-select-radio=""
        @}
>
    <option value="" >${tips!"请选择"}</option>
</select>

<script>
    layui.use(['jquery', 'formSelects'], function(){
        var formSelects = layui.formSelects;
        var $ = layui.jquery;
        formSelects.config('${name}',{
            type:'get',
            response: {
                statusCode: 200,          //成功状态码
                statusName: 'code',     //code key
                msgName: 'message',         //msg key
                dataName: 'data'        //data key
            },
        });

        formSelects.data('${name}', 'server', {
            url:"${url}",
            linkage: ${linkage!false},
        });

    });


</script>